/*
 * @Description:
 * @Author: Morgan
 * @Date: 2021-06-24 17:07:01
 * @LastEditors: Morgan
 * @LastEditTime: 2021-06-27 11:39:04
 */
// 资讯栏目管理api
import request, { post, get } from '@/utils/request'

// 查询所有分类
export function findAll(data) {
  return get('/category/findAll', data)
}

// 通过id删除
export function deleteById(data) {
  return get('/category/deleteById', data)
}

// 保存或更新
export function saveOrUpdate(data) {
  return post('/category/saveOrUpdate',data)
}

// 批量删除
export function batchDelete(data) {
  return post('/category/batchDelete', data)
}
